package com.lagou.service.fallback;

import com.lagou.pojo.LagouAuthCode;
import com.lagou.service.CodeServiceFeignClient;
import org.springframework.stereotype.Component;

/**
 * @Author : liuchangling
 * @Descrition :
 * @Date： Created in 8:50 下午 2022/1/31
 */
@Component
public class CodeServiceFallback implements CodeServiceFeignClient {
    @Override
    public Integer validate(String email, String code) {
        System.out.println("调用验证码服务失败");
        return 1;
    }
}
